package com.neuqsoft.rd.citizen.thirdapp.demo.api;

import com.neuqsoft.rd.citizen.thirdapp.demo.dto.OnlineWhoDTO;
import com.neuqsoft.rd.citizen.thirdapp.demo.service.Scene5Service;
import com.neuqsoft.rd.citizen.thirdapp.demo.service.Scene6Service;
import com.neuqsoft.rd.citizen.thirdapp.sdk.dto.GlobalMessage;
import io.swagger.annotations.Api;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

/**
 *
 * @author baidh
 * @date 2020/12/02
 */
@Api(tags = "消息推送")
@RestController
@RequestMapping("/api/scene5/")
public class Scene5Api {

    @Autowired
    Scene5Service service;

    @PostMapping("/msg")
    public GlobalMessage msg(@RequestParam String uid) {
        return service.msg(uid);
    }

}
